﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using log4net;

namespace My.Common.Error
{
    public class ErrorLog : IErrorLog
    {
        private static readonly ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);

        public void WriteLog(object obj)
        {
            log.ErrorFormat("Material Planning Error - {0}", obj);
        }
    }
}
